home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / RELNOTES / IDT.TXT < prev    next >
Encoding:
Text File  |  1998-09-16  |  16.7 KB  |  427 lines

  1. ============================================================================
  2.  
  3.                           VisualAge for Java
  4.                              Version 2.0
  5.  
  6.                      Integrated Development Tools
  7.  
  8.                             Release Notes
  9.  
  10. ============================================================================
  11.  
  12. Table of Contents
  13.  
  14. 1.0 Web browsers
  15.    1.1 Launching web browsers on Windows
  16.    1.2 Color limitation with Netscape on OS/2
  17.    1.3 Running applets in a web browser
  18. 2.0 Printing
  19. 3.0 Import SmartGuide
  20. 4.0 Debugger
  21.     4.1 Security manager
  22.     4.2 Breakpoints in classes.zip class files
  23. 5.0 Scrapbook and Inspectors
  24. 6.0 Code assist
  25.     6.1 Availability of code assist
  26.     6.2 Activating code assist
  27.     6.3 Code assist limitations
  28. 7.0 UNIX
  29.     7.1 UNIX - font sizes
  30.     7.2 AIX - Readability of Japanese fonts
  31.     7.3 UNIX - Shared libraries
  32.     7.4 Solaris - Timestamps
  33.     7.5 Solaris - Accelerators
  34.     7.6 UNIX - Printing
  35. 8.0 Caching
  36.     8.1 Setting up the cache
  37.     8.2 Clearing the caches
  38. 9.0 Japanese .jar files
  39. 10.0 Japanese fonts
  40.     10.1 Japanese fonts on OS/2
  41.     10.2 Japanese fonts in Options dialog
  42. 11.0 Directory selection
  43.  
  44.  
  45.  
  46. 1.0 Web browsers
  47.  
  48. 1.1 Launching web browsers on Windows
  49.  
  50. Windows has two different types of file associations for web based
  51. documentation. The first type of association is for .htm and .html
  52. files launched locally (e.g. c:\index.htm). The second is for
  53. non-local files in URL format (e.g. http://www.software.ibm.com/ad/vajava)
  54. and is called "URL - Hypertext Transfer Protocol".  VisualAge for
  55. Java uses the first association for most Help menu items, and the
  56. second one for the Help->Support menu item.  Typically when a web
  57. browser is installed it configures both of these associations
  58. automatically.
  59.  
  60. If a VisualAge for Java Help menu option fails to open a web browser
  61. it means your associations are not properly configured.  To determine
  62. if the associations in Windows are properly setup, go to the Windows
  63. Start menu and choose Run. Type in the name of an .htm file or a URL
  64. (e.g.  'http://www.software.ibm.com/ad/vajava'). In both cases, a web
  65. browser should open. If a web browser fails to open it means your
  66. associations are not properly configured.
  67.  
  68. In the event the web browser does not open, you can either reinstall
  69. the web browser, manually configure your Windows associations or in
  70. VisualAge for Java go to the Help page of the Window->Options dialog and
  71. choose 'Specify browser path' instead of 'Use file association'.
  72.  
  73.  
  74.  
  75. 1.2 Color limitation with Netscape on OS/2
  76.  
  77. When running Netscape 2.02 simultaneously with the VisualAge IDE on
  78. OS/2 Warp 4 in 256 color mode, the IDE is unable to get all the
  79. colors needed to draw widgets and graphics.
  80.  
  81.     Workarounds:
  82.         1) Disable palette awareness in Netscape.  (by unchecking the
  83.            palette aware option on the General Preferences Color page.)
  84.         2) Use 16-bit color mode.
  85.  
  86.  
  87. 1.3 Running applets in a web browser
  88.  
  89. If your exported applet does not run in your web browser ensure that
  90. your browser supports JDK 1.1.6.  Consult the web browser's
  91. vendor site for any JDK related fixes. Also, ensure that your
  92. web browser's security settings are correct for running your applet.
  93.  
  94.  
  95.  
  96. 2.0 Printing
  97.  
  98. Some printer drivers provide incorrect information about the size of
  99. the fonts used in the driver.  Others have problems scaling images or
  100. drawing lines properly.  These problems are most commonly found in
  101. PCL printer drivers.
  102.  
  103. Printer driver problems can cause some of the following symptoms
  104. when printing from VisualAge for Java:
  105.     - text runs off the right margin of a page
  106.     - text extends outside of its rectangle in the class graph
  107.     - class graph icons are positioned improperly
  108.     - unexpected lines are drawn in class graphs
  109.  
  110. These problems can often be solved by ensuring that you have the
  111. latest printer driver that is available for your printer.  If your
  112. printer supports PCL and Postscript, try the Postscript version of
  113. the driver.  It is usually more accurate.
  114.  
  115. The following drivers have exhibited these kinds of problems:
  116.     IBM Network Printer 17 PCL - OS/2 <older versions>
  117.     IBM Network Printer PCL Driver 1.14 - Windows 95
  118.  
  119.  
  120. 3.0 Import SmartGuide
  121.  
  122. When importing from directories, you should typically not select a
  123. subdirectory of a package hierarchy as the root for import. If you do,
  124. the resources will be copied incorrectly.  For example, if you were to
  125. "Export" the "IBM Java Examples" project, the result is a directory
  126. structure such as:
  127.  
  128.     \com\ibm\ivj\examples\awttextframework
  129.     \com\ibm\ivj\examples\awttestlauncher
  130.     \com\ibm\ivj\examples\awttests
  131.     etc.
  132.  
  133.  
  134. To import from directories you should choose the directory which
  135. contains the com subdirectory and use the "Details..." prompter to
  136. select the subdirectories you want. The subdirectory structure for
  137. the resources will be recreated when you import.
  138.  
  139.  
  140. 4.0 Debugger
  141.  
  142. 4.1 Security manager
  143.  
  144. Installing a security manager that does not allow complete access to
  145. members and properties can cause exceptions or missing fields in the
  146. debugger due to introspection failures.  This affects SecurityManager
  147. and its subclasses.
  148.  
  149.     Workaround:
  150.         Do not use a security manager when debugging code, or ensure that
  151.         your security manager allows access to members and properties.
  152.  
  153.  
  154. 4.2 Breakpoints in classes.zip class files
  155.  
  156. Breakpoints placed in external class files found in classes.zip
  157. may not trigger.
  158.     Workaround:
  159.         Place the breakpoint in the copy of the class
  160.         which is located in your Workspace.
  161.  
  162.  
  163. 5.0 Scrapbook and Inspectors
  164.  
  165. If a large string (>10K) is inserted into the scrapbook, there
  166. is a noticeable delay as the text is inserted and syntax
  167. highlighted.  With very large strings, it can appear as if the
  168. scrapbook is suspended or hung.  This situation is most
  169. likely to occur when displaying the results of an expression in the
  170. scrapbook, such as displaying the toString() of a very large
  171. vector.  Long strings can also cause the horizontal scroll bars
  172. in the editor to fail and can cause internal errors on OS/2.
  173. The actual limit involves the pixel width of the string (32768 pixels),
  174. so the size of the font used can affect how long the string can be.
  175. Workaround:
  176.     To work around the problem, split long lines into shorter ones
  177.     and avoid displaying the results of expressions that return an
  178.     object with a long string representation.
  179.  
  180.  
  181. 6.0 Code assist
  182.  
  183. 6.1 Availability of code assist
  184.  
  185. Code assist is available in a method source view, Scrapbook,
  186. Inspector, breakpoint modify dialog and the event-to-code connection
  187. editor of the Visual Composition Editor. Code assist is not available
  188. in the class source view.  Code assist requires that your code prior
  189. to the current cursor location be syntactically correct.  If the code
  190. cannot be processed, the status line will indicate that code assist
  191. is not available.
  192.  
  193.  
  194. 6.2 Activating code assist
  195.  
  196. To activate code assist press Ctrl-Space or Ctrl-L.  On some Japanese
  197. platforms Ctrl-Space is reserved for IME activation.  In this
  198. situation Ctrl-L can be used to activate code assist.
  199.  
  200.  
  201. 6.3 Code assist limitations
  202.  
  203. This section describes some of the limitations of code assist:
  204.  
  205. -   In the case where a possible field completion would be hidden by a
  206.     visible local variable with the same name, code assist will not
  207.     filter out the hidden field and will still present it as part of the user
  208.     selection. Note that even having picked up the field, compilation
  209.     will bind to the local variable.  For example, after defining the
  210.     following class X, browse its constructor.
  211.     class X {
  212.         int value;
  213.         X(int value){
  214.             this.value = value }
  215.     }
  216.     When requesting code assistance in the constructor, in the right hand side
  217.     of the assignment: this.value = val<code assist> VisualAge will find two
  218.     completions: the field and the local, where actually the local variable is
  219.     hiding the field.
  220.  
  221. -   In some cases, code assist will not detect that the input source is
  222.     invalid, and will still propose some potential candidates. For example,
  223.     the following cases yield an incorrect completion.
  224.         new Thread().`<code assist here>
  225.         new Thread().\<code assist here>
  226.         new Thread().........<code assist here>
  227.  
  228. -   There are some locations where code assist will propose type
  229.     completions where it should not. Selecting and inserting a
  230.     type in this case will result in invalid source.
  231.     For example the completions for:
  232.         new Thread(s<code assist here>
  233.     will list some types (such as short) where no
  234.     possible Java construction could require a type in this case.
  235.  
  236.  
  237. -   If a type name needs to be qualified and it is not, no code assist
  238.     will be available for static members. For example:
  239.         public String newMethod ( ) {
  240.             ResourceBundle a = ResourceBundle.<code assist>
  241.     does not produce a list but
  242.         public String newMethod ( ) {
  243.             java.util.ResourceBundle a = java.util.ResourceBundle.<code assist>
  244.     will produce a list. The easiest way to produce a qualified name
  245.     in this case (assuming you do not want to add this class/package to
  246.     the import list) is to place the cursor before the period and
  247.     activate code assist. Select the class name from the list and it will
  248.     be fully qualified for you automatically if required.
  249.  
  250.  
  251.  
  252.  
  253. 7.0 UNIX
  254.  
  255. 7.1 UNIX - font sizes
  256.  
  257. If the font selected from the Options dialog seems smaller or larger
  258. than expected, a possible problem is the X font path.  From a
  259. terminal window, examine the output of the "xdpyinfo" command to
  260. determine the resolution of screen #0.  (The resolution will be
  261. similar to: "91x92 dots per inch").  Then examine the current font
  262. path by typing "xset q".  The font path will likely include "100dpi"
  263. and "75dpi" directories.  The font path should be set such that the
  264. directory with the resolution closest to the screen resolution comes
  265. first.  (e.g. in the case of a screen resolution of 91x92, the 100dpi
  266. directory should come first in the font path.)
  267.  
  268. The font path can be set with the "xset fp= Path,..." command,
  269. followed by the "xset fp rehash" command.  (See the xset man page for
  270. more information).  Note that font path will be reset when you logout
  271. and back into the window manager.  Therefore, to have it set each
  272. time you login, add the xset command to either your window manager's
  273. startup script, or shell startup or your login script.
  274.  
  275.  
  276. 7.2 UNIX - Readability of Japanese fonts
  277.  
  278. On AIX and Solaris, many fonts, especially non-English fonts, do not
  279. scale well to small sizes.  Fonts will always look best if you pick a
  280. size that has a defined bitmap version available at that size.  To
  281. find the sizes of the bitmap versions of a font, use the "xlsfonts"
  282. command.  Please refer to the xlsfonts man page for more information.
  283.  
  284.  
  285. 7.3 UNIX - Shared libraries
  286.  
  287. VisualAge for Java uses shared libraries which reside in the
  288. ide/program directory.  On AIX the file extension of these files is
  289. ".a", on Solaris, it is ".so". You must ensure that your system is
  290. properly configured before running VisualAge for Java, otherwise the
  291. environment will not be able to locate these shared libraries.
  292.  
  293. The easiest way to ensure the libraries are found is to set the
  294. environment variable LIBPATH (on AIX) or LD_LIBRARY_PATH (on Solaris)
  295. to include the ide/program directory. For example, if you installed
  296. VisualAge for Java in /usr/local/vajava, then add the directory
  297. /usr/local/vajava/ide/program to your LD_LIBRARY_PATH.  How you do
  298. this depends on which shell you are using (e.g. csh, ksh, etc.).
  299. Please refer to the documentation for your shell for information
  300. regarding setting environment variables.
  301.  
  302. You may choose to set this variable when you log in (i.e. in your
  303. .cshrc, .profile, .login, or related startup file), or you may wish
  304. to create a shell script to run VisualAge for Java which sets the
  305. variable for you. For example,
  306.  
  307. #!/bin/sh
  308. export LIBPATH=$LIBPATH:/usr/local/vajava/ide/program
  309. cd /usr/local/vajava/ide/program
  310. ./ide
  311.  
  312.  
  313. 7.4 Solaris - Timestamps
  314.  
  315. Due to a problem in Solaris OS, dates on the locale en_CA are
  316. displayed as 6//17//98.  This problem does not appear to occur on
  317. en_US for Solaris. This problem may also occur with some other
  318. locales on Solaris.
  319.  
  320.  
  321. 7.5 Solaris - Accelerators
  322.  
  323. Accelerators are not supported on Solaris due to a degradation
  324. of performance caused by the platform menu support under certain
  325. usage patterns. This problem does not occur on any other platform,
  326. including AIX.
  327.  
  328. 7.6 UNIX - Printing
  329.  
  330. VisualAge for Java uses the Bristol X printer libraries to support
  331. printing. These libaries require Postscript printer support.
  332.  
  333.  
  334. 8.0 Caching
  335.  
  336. 8.1 Setting up the cache
  337.  
  338. A disk cache and a memory cache are used by VisualAge for Java to
  339. improve .class file access time for classes in the IDE.
  340.  
  341. The memory cache is used to keep a number of classes resident in
  342. memory.  Every time the IDE is started, only the most frequently used
  343. classes are maintained in the memory cache.  The memory cache
  344. preferred size is user settable from the Options dialog on the
  345. General / Cache page.  This value is the number of classes that will
  346. be preserved when the IDE is started.  Any class found in the cache
  347. can be almost instantaneously dynamically loaded.  A system with a
  348. large amount of RAM can take advantage of a large memory cache; a
  349. system with a limited amount of RAM should keep the memory cache
  350. small - this will allow VisualAge to flush unused classes.
  351.  
  352. The disk cache is used to help fill the memory cache.  When an IDE
  353. class must be loaded, the disk cache is searched first and if the
  354. class is not there it is loaded from the repository.  The resulting
  355. class is then put in the memory cache. The disk cache improves
  356. performance, but does not have as significant an impact as the memory
  357. cache. There are two variables that the developer can control on the
  358. disk cache: (1) disk cache enable, and (2) disk cache preferred size.
  359.  
  360. To enable the disk cache, the directory named "cache" must exist as a
  361. subdirectory of the ide directory.  There are at least two reasons
  362. why you may not want to enable the disk cache.  First, systems with
  363. limited available disk space should not use the disk cache.  Second,
  364. if accessing the repository is almost as fast as accessing the cache
  365. directory, the disk cache provides no additional value.
  366.  
  367. The disk cache preferred size is the number of classes (files) that
  368. will be preserved when the IDE is exited (or saved while remaining in
  369. the IDE).  The most frequently used .class files are maintained in
  370. the disk cache; all other files in the directory are deleted.
  371.  
  372.  
  373. 8.2 Clearing the caches
  374.  
  375. When a developer selects Clear the Memory Cache (from the Options
  376. dialog), the contents of the memory cache will be discarded the next
  377. time the IDE is started.
  378.  
  379. When a developer selects Clear the Disk Cache (from the Options
  380. dialog), contents of the cache directory will be immediately
  381. discarded.
  382.  
  383.  
  384. 9.0 Japanese .jar files
  385.  
  386. If types and resources with Japanese names are exported to a .jar
  387. file, the files within the .jar do not have Japanese names but rather
  388. render the names as single byte characters.  The lack of support for
  389. Japanese names is a current limitation of .jar files.
  390.  
  391.  
  392. 10.0 Japanese fonts
  393.  
  394. 10.1 Japanese fonts on OS/2
  395.  
  396. With some fonts on OS/2 Japanese, the very top of some "tall"
  397. characters may not be visible.  For example, this has been seen with
  398. the Mincho 8 point font for the "[" and "]" characters.  However, the
  399. same Mincho 8 point font has been observed to display correctly on
  400. other OS/2 machines.  This problem is machine and font specific. If
  401. this occurs another font should be selected.
  402.  
  403.  
  404. 10.2 Japanese fonts in Options dialog
  405.  
  406. If the "dialog" font in the Options dialog is set to an English font
  407. (e.g. adobe helvetica) on a Japanese machine, the font will not
  408. contain the necessary Japanese characters, so the Options dialog
  409. itself becomes unreadable.
  410.     Workaround
  411.         The Options dialog can still be used to set the dialog font
  412.         back to a Japanese font.  The keyboard arrow keys may
  413.         have to be used instead of the mouse to make
  414.         selections when the Options dialog is in this state.
  415.  
  416.  
  417. 11.0 Directory selection
  418.  
  419.  
  420. -   The directory selection dialog (used for importing, exporting,
  421.     generating javadoc, etc.) may lock access to the directory, so that
  422.     other applications cannot delete, rename, or move the directory.
  423.  
  424. -   When typing in the drive name of an NTFS drive, you must use upper
  425.     case to specify the drive name in the directory selection dialog.
  426.     The dialog will not recognize lower case drive names on NTFS drives.
  427.